package com.jeecms.wicool.dao.image;

import com.jeecms.common.hibernate3.Updater;
import com.jeecms.wicool.entity.image.ShareImageEntity;

import java.util.List;

/**
 * Created by cuiyanlei on 15/6/7.
 */
public interface ShareImageEntityDao {

    public ShareImageEntity save(ShareImageEntity bean);

    public ShareImageEntity deleteById(Integer id);

    public ShareImageEntity updateByUpdater(Updater<ShareImageEntity> updater);

    public List<ShareImageEntity> getAll(Integer foreginKey, int type);
}
